package org.example.carplatoon.entity;

/**
 * @ClassName carBindpojo
 * @Description
 * @Author chougou
 * @Date 2023年12月15日 10:00
 * @Version 1.0
 */


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class carBindpojo implements Serializable {



    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long carId;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long platoonId;

    private BigDecimal curLongitude;

    private BigDecimal curLatitude;

    private Long preCar;


    private LocalDateTime createTime;


    private String startPoint;


    private String endPoint;


    private BigDecimal platoonSpacing;


    private BigDecimal platoonSpeed;
}
